<div class="page_head">
<h2><%="New writeboard".t%></h2>
</div>

<%= error_messages_for :writeboard %>
<% form_for(:writeboard, :url => writeboards_path) do |f| %>
<div class="FormBlock">
  <b><%="Title".t%></b>:<br/>
  <%=f.text_field :name,:class=>'big_font'%><br/>
  <script>$('writeboard_name').style.width = screen.width * 0.54;</script>
  <strong><%="Category".t%>:</strong>
    <span id='cat_show'>
    <%=render :partial=>'categories/cat_show',:locals=>{:cats=>@cats,:cur_cat=>'0',:label=>'writeboards'}%>
    </span>
  <%=fckeditor_text"content","WIKI"%>
  <hr class="black">
  <%=f.hidden_field :project_id,:value=>@project.id%>
  <span id="submit"> <%=submit_tag"Save this writeboard".t,:onclick=>"Element.hide('submit');Element.show('process')"%> <%="or".t%> <%=link_to "Cancel".t,"javascript:history.back()",:class=>'admin'%> </span>
  <span id='process' style="display:none"> <%=image_tag "progress_bar.gif"%> </span>

<% end %>
</div>

